package hotgammon.domain;

public class StrategyDiceFixed implements StrategyDice{
	private int[] lastDiceThrown = {5,6};
	
	public int[] diceThrown() {
		if(lastDiceThrown[0]==1 && lastDiceThrown[1]==2){
			int[] dice = {3,4};
			lastDiceThrown =  dice;
			return dice;
		}else if(lastDiceThrown[0]==3 && lastDiceThrown[1]==4){
			int[] dice = {5,6};
			lastDiceThrown = dice;
			return dice;
		}else if(lastDiceThrown[0]==5 && lastDiceThrown[1]==6){
			int[] dice = {1,2};
			lastDiceThrown = dice;
			return dice;
		}else return null;
	}

}
